<template>
  <div class="dynamic2">
    <h1>动态路由的变化2</h1>
    <h1 style="color: pink">这使用编程式来跳转路由并且传递参数的值:{{age}} === {{userId}}</h1>
  </div>
</template>
<script>
export default {
  props: ["age","userId"],
  name: "Dynamic2",
}
</script>